`define NTT             6'b000000
`define INTT            6'b000001
`define PWM1            6'b000010
`define PWM2            6'b000011
`define PolyAdd         6'b000100
`define Encode_ADD      6'b000101
`define Decode_SUB      6'b000110
`define PolyMov         6'b000111

`define Compress10      6'b100000
`define Compress4       6'b100001
`define Compress11      6'b100010
`define Compress5       6'b100011
`define Compare10       6'b100100
`define Compare4        6'b100101
`define Compare11       6'b100110
`define Compare5        6'b100111

`define Decompress10    6'b101000
`define Decompress4     6'b101001
`define Decompress11    6'b101010
`define Decompress5     6'b101011




//方向
`define R1_TO_R2        3'b100
`define R2_TO_R1        3'b001
`define Reserved_Bit    6'b000000
`define Poly_model      6'b000000
`define Poly_Enable     1'b1
`define SHA3_Enable     1'b0
`define R22_TO_R1       3'b001
`define R11_TO_R2       3'b110
`define R12_TO_R1       3'b101
`define R12_TO_R2       3'b010

//fetch
`define KEM_Kyber512        3'b000
`define KEM_Kyber768        3'b001
`define KEM_Kyber1024       3'b010
`define PKE_Kyber512        3'b100
`define PKE_Kyber768        3'b101
`define PKE_Kyber1024       3'b110
`define void_inst       22'h00003f

